import { createWebHashHistory, createRouter } from 'vue-router'

import HomeView from '../view/Home/index.vue'


const routes = [
    { path: '/', component: HomeView },
    { path: '/about', component: () => import("@/view/About/index.vue") },
    { path: '/yunying', component: () => import("@/view/YunYing/index.vue") },
]

const router = createRouter({
    history: createWebHashHistory(),
    routes,
})

export default router